package com.example.shopping.model;


import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("accountrecord")
public class Order {
    @ExcelProperty(value = "ID",index = 0)
    @TableField("ID")
    private Long ID;
    @ExcelProperty(value = "订单号",index = 1)
    @TableField("Ordersn")
    private String Ordersn;
    @ExcelProperty(value = "用户id",index = 2)
    @TableField("UserId")
    private String UserId;
    @ExcelProperty(value = "类型",index = 3)
    @TableField("FlowType")
    private String FlowType;
    @ExcelProperty(value = "交易金额",index = 4)
    @TableField("Amount")
    private BigDecimal Amount;
    @ExcelProperty(value = "交易余额",index = 5)
    @TableField("Balance")
    private BigDecimal Balance;
    @ExcelProperty(value = "备注",index = 6)
    @TableField("Memo")
    private String Memo;
    @ExcelProperty(value = "创建时间",index = 7)
    @TableField("AddDate")
    private Date AddDate;
}

